#if !defined(PARSE_CONTIG_POS_H)
#define PARSE_CONTIG_POS_H

#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>

struct t_contig_pos
{
    std::string                 chromosome;
    long	                    pos;
	std::string                 category;
};

template <typename Iterator>
struct contig_pos_grammar;

typedef boost::shared_ptr<contig_pos_grammar<std::string::const_iterator> > sp_contig_pos_grammar ;

sp_contig_pos_grammar create_contig_pos_grammar(unsigned& curr_line_number);
bool parse_contig_pos(sp_contig_pos_grammar p_contig_pos_grammar, std::string::const_iterator& str_beg, std::string::const_iterator str_end, t_contig_pos& res);



#endif	// PARSE_CONTIG_POS_H
